<?php

	require_once('./application/models/nieuwsModel.php');
	class item_nieuws extends item_bericht
	{
		protected function init()
		{
			$this -> information['nieuws_text'] = '';
			$this -> myModel = nieuwsModel::getInstance($this -> Db);	
		}	
		public function fill()
		{
			$this -> myModel -> getNieuwsId($this);
		}
		
		public function update(){
		
			$this -> myModel -> updBericht($this);
		
		}
		
			
	}
?>